[XEND] Fix mis-types in XendConfig
authorAlastair Tse <atse@xensource.com>
Fri, 1 Dec 2006 18:35:19 +0000 (18:35 +0000)
committerAlastair Tse <atse@xensource.com>
Fri, 1 Dec 2006 18:35:19 +0000 (18:35 +0000)
Signed-off-by: Alastair Tse <atse@xensource.com>
tools/python/xen/xend/XendConfig.py

index 3e4df3183fcb10daea93677fec276c2db5c18b7e..5a06f77efb97af80ddfae0fbce9613903d6f4afd 100644 (file)
@@ -75,11 +75,11 @@ XENAPI_HVM_CFG = {
 
 XENAPI_CFG_TYPES = {
     'uuid': str,
-    'power_state': int,
+    'power_state': str,
     'name_label': str,
     'name_description': str,
     'user_version': str,
-    'is_a_template': int,
+    'is_a_template': bool0,
     'resident_on': str,
     'memory_static_min': int,
     'memory_static_max': int,